﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SysSurv.dtl
{
    [Serializable]
    class Answer
    {
        #region Attributes
        private long _i64Id;
        private string _strAnswer;
        #endregion
        #region Properties
        public long i64Id
        {
            get { return _i64Id; }
            set { _i64Id = value; }
        }
        public string strAnswer
        {
            get { return _strAnswer; }
            set { _strAnswer = value; }
        }
        #endregion
        #region Constructors
        public Answer() { }
        public Answer(string vAnswer) {
            _strAnswer = vAnswer;
        }
        public Answer(long vId, string vAnswer) {
            _i64Id = vId;
            _strAnswer = vAnswer;
        }
        #endregion
        public override string ToString()
        {
            return _strAnswer ;
        }
    }
}
